Skip to content

Conversation

fmuyassarov
Copy link
Member

What this PR does / why we need it:
Add the default value for GO_VERSION within the Dockerfile to fix build checks warnings that come from an empty variable. This doesn’t break existing behavior; version control is still managed by the Makefile

 - InvalidDefaultArgInFrom: Default value for ARG golang:${GO_VERSION} results in empty or invalid base image name (line 17)

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Add the default value for `GO_VERSION` within the Dockerfile to
fix build checks warnings that come from an empty variable. This
doesn’t break existing behavior; version control is still managed
by the Makefile
```
 - InvalidDefaultArgInFrom: Default value for ARG \
golang:${GO_VERSION} results in empty or invalid base image name (line 17)
```

Signed-off-by: Feruzjon Muyassarov <[email protected]>
Copy link

netlify bot commented Oct 6, 2025

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit 3c067cc
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-cluster-api-openstack/deploys/68e3a50d6ad7200008da8994
😎 Deploy Preview https://deploy-preview-2751--kubernetes-sigs-cluster-api-openstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 6, 2025
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 6, 2025
@fmuyassarov
Copy link
Member Author

/assign @lentzi90
/cc @smoshiur1237

Copy link
Contributor

@smoshiur1237 smoshiur1237 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 6, 2025
Copy link
Contributor

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
The only downside is we should remember to update this also when bumping go.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lentzi90

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 6, 2025
@smoshiur1237
Copy link
Contributor

/approve The only downside is we should remember to update this also when bumping go.

I will update soon to 1.24.8 when it releases, I will remember to do that

@fmuyassarov
Copy link
Member Author

/approve The only downside is we should remember to update this also when bumping go.

Right. But even if it is missed accidentally, it should not cause a problem assuming the version will be passed from the Makefile.

@k8s-ci-robot k8s-ci-robot merged commit de04894 into kubernetes-sigs:main Oct 6, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from Inbox to Done in CAPO Roadmap Oct 6, 2025
@lentzi90 lentzi90 deleted the devel/invalid-defaulting branch October 6, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants